@import './../../assets/css/CommonStyle.scss';

#SignIn {
  .aaa1 {
    color: black !important;
  }
  .SignContent {
    background-color: transparent;
  }
  .bg_img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .ant-form-explain {
    color: #f5222d;
    margin-top: 8px;
    position: absolute;
  }
  .passwordIcon {
    font-size: 20px;
    color: #333;
  }
  .passwordInput {
    margin-top: p-w(36);
    border-bottom: 1px solid #333333;
    box-shadow: 0 0 0px 1000px transparent inset !important;
    .ant-input-prefix {
      left: 0;
    }
    input {
      border: 0;
      &:focus {
        box-shadow: none;
      }
    }
  }
  .hide {
    display: none;
  }
  .signin_box {
    position: relative;
    overflow: hidden;
    width: 100vw;
    height: 100vh;
  }

  .form_box1 {
    position: absolute;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);

    .tit {
      font-size: 16px;
      font-family: PingFangSC-Regular, PingFangSC;
      font-weight: 400;
      color: $bg-header;
    }

    .sysName {
      font-size: 24px;
      font-family: PingFangSC-Medium, PingFangSC;
      font-weight: 500;
      color: $bg-header;
      margin-top: 8px;
    }
    .welcome {
      font-size: 16px;
    }
  }

  .for1 {
    border-radius: 2px;
    border: 1px solid rgba(151, 151, 151, 1);
    background: $bg-header;
    margin-top: 20px;
    justify-content: center;
    display: flex;
    flex-direction: column;
    padding: p-w(40) 48px;
    width: 376px;
    height: 378px;
    .for_t {
      margin-bottom: 36px;
      font-size: 20px;
      font-family: PingFangSC-Medium, PingFangSC;
      font-weight: 500;
      color: $header-color;
      text-align: center;
    }
  }

  .input_box {
    border-bottom: 1px solid $header-color;
    width: 280px;
    display: flex;
    align-items: center;

    .int_icon {
      font-size: 20px;
    }

    input {
      background: none;
      font-size: 14px;
      outline: none;
      border: none;
      padding-left: 8px;
      &:focus {
        border: none;
      }
      &::-webkit-input-placeholder {
        /*Webkit browsers 谷歌*/
        color: #c7c7c7 !important;
      }

      &:-moz-placeholder {
        /*Mozilla Firefox 4 to 8 火狐*/
        color: #c7c7c7 !important;
      }

      &::moz-placeholder {
        /*Mozilla Firefox 19+ 火狐*/
        color: #c7c7c7 !important;
      }

      &:-ms-input-placeholder {
        /*Internet Explorer 10+ IE10以上*/
        color: #c7c7c7 !important;
      }
    }
  }
  .ant-input {
    &::-webkit-input-placeholder {
      color: #c7c7c7 !important;
    }
  }
  .remember {
    display: flex;
    justify-content: space-between;
    margin-top: 16px;
    width: 100%;

    .fon {
      padding-left: 5px;
      color: #a2a2a2;
    }
  }

  .login_btn {
    width: 280px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    font-size: 16px;
    font-family: PingFangSC-Regular, PingFangSC;
    font-weight: 400;
    color: $bg-header;
    background: $btn-color;
    margin-top: 56px;
    border: none;
    border-radius: 2px;
  }
  // }
  .footer {
    background: transparent;
    .companyName {
      color: #839dba !important;
    }
  }
}
@include media('>=tablet') {
}
@include media('<=phone') {
  #SignIn {
    .bg_img {
      position: absolute;
    }
    .signin_box {
      position: absolute;
      .footer {
        background-color: transparent;
        position: absolute;
        bottom: 0;
        width: 100%;
        text-align: center;
        .footer_d .his {
          color: #fff;
        }
      }
    }

    .for_t {
      display: none;
    }
    .passwordInput {
      margin-top: m-w(64);
      .ant-input-suffix {
        i {
          color: #fff;
        }
      }
      background-color: transparent;
      border-bottom: 1px solid white;
      .ant-input-prefix {
        left: 0;
      }
      input {
        background-color: transparent;
        border: 0;
        color: white;
        &:focus {
          box-shadow: none;
        }
      }
    }
    .form_box {
      left: 0;
      width: 100%;
      position: absolute;
      padding-left: 0;
      padding-right: 0;
      transform: translate(0, 0);
      top: 10%;

      .tit232 {
        font-family: PingFangSC-Regular, PingFangSC;
        font-weight: 400;
        color: white;
      }

      .sysName {
        font-family: PingFangSC-Medium, PingFangSC;
        font-weight: 500;
        color: $bg-header;
      }
    }

    .input_box {
      border-bottom: 1px solid $bg-color;
      width: 100%;
      input {
        color: $bg-color;
        padding-left: 8px;
        &::-webkit-input-placeholder {
          color: rgba($color: $bg-color, $alpha: 0.5) !important;
          font-size: m-w(36);
        }
      }
    }
    .ant-input {
      &::-webkit-input-placeholder {
        color: rgba($color: $bg-color, $alpha: 0.5) !important;
        font-size: m-w(36);
      }
    }
    .SignContent {
      padding: m-w(55);
    }
    .login-form {
      width: 100%;

      .ant-form-item {
        margin-bottom: 0px;
        input {
          font-size: m-w(36);
        }
      }
    }

    .login_btn {
      width: 100%;
      border-radius: m-w(4);
      border: none;
      & > span {
        word-spacing: 0;
      }
    }

    .for1 {
      background: transparent;
      border: none;
      height: auto;
      margin: auto;
      margin-top: m-w(120);
      width: 100%;
      padding: 0;
    }

    .remember {
      margin-top: m-w(24);
      .fon {
        padding-left: 5px;
        color: $bg-color;
      }
      .ant-checkbox {
        .ant-checkbox-inner {
          background: transparent;
          color: #1890ff;
          border: 1px solid #fff;
        }
      }
      .ant-checkbox-checked {
        .ant-checkbox-inner {
          border: 1px solid #1890ff;
        }
        .ant-checkbox-inner::after {
          border: 2px solid #fff;
          border-top: 0;
          border-left: 0;
        }
      }
    }

    .login_btn {
      margin-top: m-w(54);
      background-color: $bg-color;
      color: $btn-color;
    }

    .form_box1 {
      position: absolute;
      top: m-w(80);
      left: 50%;
      transform: translate(-50%, 0);
      width: 100%;
    }
    input:-webkit-autofill,
    input:-webkit-autofill:hover,
    input:-webkit-autofill:focus,
    textarea:-webkit-autofill,
    textarea:-webkit-autofill:hover,
    textarea:-webkit-autofill:focus,
    select:-webkit-autofill,
    select:-webkit-autofill:hover,
    select:-webkit-autofill:focus {
      border: 1px solid transparent;
      -webkit-text-fill-color: white !important;
      -webkit-box-shadow: 0 0 0px 1000px transparent inset;
      transition: background-color 5000s ease-in-out 0s;
    }
  }
}
